@using SmartCode
@model BuildContext
@{
    Layout = "../_JavaLayout.cshtml";
    var project = Model.Project;
    
    var appName = "Demo";

    if (project.Parameters.TryGetValue("ApplicationName", out var _appName))
    {
        appName = _appName.ToString();
    }
    var appClassTestsName = $"{appName}ApplicationTests";
}

package @(project.Module).server;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@@RunWith(SpringRunner.class)
@@SpringBootTest
public class @appClassTestsName {

@@Test
public void contextLoads() {
}

}